package com.shujia.java.day11.demo4;

/**
 * 集合存储 Studnet
 * 之后遍历获取Student中的name
 */
public class Student {
    private String name;

    public Student() {
    }

    public Student(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

}
